package com.sfchen.cloud.dto;


import io.swagger.v3.oas.annotations.media.Schema;


@Schema(name = "用户信息")
public record UserDto(@Schema(name = "id", description = "用户id") Integer id,
                      @Schema(name = "user name", description = "用户名称", example = "李四") String name,
                      @Schema(name = "age", description = "用户年龄", example = "20") int age) {
}
